#include "Choose_Pin.h"



int Choose_Pin::Pin_1(String Pin4)
{
  int Pin_1;

  Pin_1 = 10;
  
  return 10;
}

/*********************
 * 引脚选择
*********************/
/*
int Choose_Pin::Pin_1(char Pin4)
{
  char Pin_1;
  if (Pin4 == "A1")
  {
    Pin_1 = "A4";
  }
  else if(Pin4 == "A2")
  {
    Pin_1 = "A0";
  }
  else if(Pin4 == "A3")
  {
    Pin_1 = "A2";
  }
  else if(Pin4 == "A4")
  {
    Pin_1 = "A6";
  }
  else if(Pin4 == "D1")
  {
    Pin_1 = "D0";
  }
  else if(Pin4 == "D2")
  {
    Pin_1 = "D9";
  }
  else if(Pin4 == "D3")
  {
    Pin_1 = "D10";
  }
  else if(Pin4 == "D4")
  {
    Pin_1 = "D11";
  }
  return Pin_1;
}

int Choose_Pin::Pin_2(char Pin4)
{
  char Pin_1;
  if (Pin4 == "A1")
  {
    Pin_2 = "A5";
  }
  else if(Pin4 == "A2")
  {
    Pin_2 = "A1";
  }
  else if(Pin4 == "A3")
  {
    Pin_2 = "A3";
  }
  else if(Pin4 == "A4")
  {
    Pin_2 = "A7";
  }
  else if(Pin4 == "D1")
  {
    Pin_2 = "D1";
  }
  else if(Pin4 == "D2")
  {
    Pin_2 = "D2";
  }
  else if(Pin4 == "D3")
  {
    Pin_2 = "D3";
  }
  else if(Pin4 == "D4")
  {
    Pin_2 = "D12";
  }
  return Pin_2;

}*/